Scientific programming with an environment that combines effectively compiled and interpreted scripting at the Java platform
نویسندگان
چکیده
The jLab environment extends the potential of Java for scientific computing. It provides a Matlab/Scilab like scripting language that is executed by an interpreter implemented in the Java language. The scripting language supports the basic programming constructs with Matlab like matrix manipulation operators. The jLab "core" provides the general purpose functionality with an extensive set of built in mathematical routines that cover all the basic numerical analysis tasks. The important advantage of jLab compared to other similar environments is the potentiality to dynamically and automatically integrate Java code to the system in order to obtain both execution speed and to reduce the programming effort. This task is supported both by an easy to use extension Java class wizard and by application specific class wizards that automate the utilization of jLab's scientific libraries. However, the incorporation of external Java general purpose code is not as convenient as the scripting code development is. Also, j-scripting is relatively slow compared to Groovy scripting that operates by compiling the scripts to Java classes. This was the motivation for the adaptation of the general purpose Groovy “scripting SuperJava” language as a parallel and cooperative scripting option in the jLab environment. The paper concentrates on the issues involved in the implementation of the multiscripting environment and on the benefits that can be obtained by the combination of these two very different scripting frameworks. The Groovy agile scripting language for the Java platform is both very flexible and powerful. We describe the modifications to the Groovy language and some of the most basic extensions that we have implemented in order to build the GroovySci language, the compiled scripting language of the jLab platform. Key-Words: Java, Scripting, Interpreters, Matlab, Scientific Programming, Class Loaders, Groovy, Binding
منابع مشابه
Scientific programming with Java classes supported with a scripting interpreter
The jLab environment provides a Matlab/Scilab like scripting language that is executed by an interpreter implemented in the Java language. This language supports all the basic programming constructs and an extensive set of built in mathematical routines that cover all the basic numerical analysis tasks. Moreover, the toolboxes of jLab can be easily implemented in Java and the corresponding clas...
متن کاملAn Extensible Compiler for Creating Scriptable Scientific Software
Scripting languages such as Python and Tcl have become a powerful tool for the construction of exible scienti c software because they provide scientists with an interpreted problem solving environment and they form a modular framework for controlling software components written in C,C++, and Fortran. However, a common problem faced by the developers of a scripted scienti c application is that o...
متن کاملRuntime Synthesis of Parallel and High-Performance Computational Kernels
Scripting and interpreted languages have become important tools for software development, with languages such as Visual Basic, C#, Java, Python, and Perl replacing compiled languages such as C, C++, and FORTRAN as the primary tools for application development. Scripting languages offer significant increases in productivity compared to compiled languages, due in large part to simplified type sys...
متن کاملA Framework to Support Mobile Users of Multimedia Applications
In this paper we describe how we have extended our distributed multimedia application platform to support the fact that users may change their physical location whilst continuing to interact with an application. We are assuming an environment of ubiquitous computer deployment. Constructing multimedia applications from reusable active objects leads to eecient and dynamically reconngurable system...
متن کاملjLab: Integrating a scripting interpreter with Java technology for flexible scientific computation
The jLab environment extends the potential of Java for scientific computing. It provides a Matlab/Scilab like scripting language that is executed by an interpreter implemented in the Java language. The scripting language supports the basic programming constructs with Matlab like matrix manipulation operators. The jLab ”core” provides the general purpose functionality with an extensive set of bu...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2008